home *** CD-ROM | disk | FTP | other *** search
/ L' Effet Pommier 3 / L'Effet Pommier - Volume 03.iso / Graphismes / Bitmap / PhotoGIF 1.1.4 / A_bit_about_file_sizes next >
Text File  |  1995-10-24  |  3KB  |  59 lines

  1. A Bit About File Sizes ⌐ BoxTop Software. All rights Reserved.
  2.  
  3. BoxTop Software
  4. P.O. Box 2347
  5. Starkville, MS 39760
  6. 1 (601) 324-7352
  7. boxtop@aris.com
  8. http://www.aris.com/boxtop/PhotoGIF
  9. ftp://aris.com/boxtop
  10.  
  11.  
  12.  
  13.    File sizes are very important for World Wide Web graphics. Smaller
  14. files mean shorter transmission times and more viewers that stick around
  15. to see your page. With this in mind we've take great care to incorporate
  16. one of the best LZW compressors around into PhotoGIF. We haven't found a
  17. Macintosh application yet capable of saving GIF89a files that beats
  18. PhotoGIF's compression. It beats GIF89a Export, it beats Debabelizer, and
  19. it beats Graphic Converter.
  20.  
  21.    Still, we get asked all the time, 'Why are PhotoGIF files so much bigger?'
  22. The answer is the GIF files aren't. Almost always, they are smaller.
  23.  
  24.    There are several things that can make them appear bigger. The most
  25. common explanation of why the files look bigger in your Mac's 'get info'
  26. box is that it normally shows the combined size of the Mac files data fork
  27. (the actual GIF file) and the Mac files resource fork where Photoshop stores
  28. custom icons, previews and other image resources such as the last window 
  29. position.
  30.  
  31.    The second thing is the way the Mac allocates disk space for files in
  32. fixed size blocks. These blocks vary in size according to the size of your
  33. hard drive (or partitions on it) and can get quite big in comparison to the
  34. actual size of the file. A 500 byte GIF file could be stored in a 32K chunk
  35. of disk space, and a quick glance at the 'get info' box can be misleading
  36. if you only look at the first number which shows the disk space allocated
  37. for the file and not the number of bytes used in the file.
  38.  
  39.    Now, the thing you need to be aware of is the difference in the Mac file
  40. system and the file systems of the rest of the computers in the world that
  41. wouldn't know what a resource for was if it bit them on the nose. When you
  42. send your Mac files as binary data to your server only the 'data fork' is
  43. transferred. (Unless you specifically use an encoding method such as binhex
  44. or MacBinary to preserve the resource fork of the Mac file, which you DO NOT
  45. want to do since it would render your web page graphics as broken image icons.)
  46.  
  47.    Whatever was in the resource fork is still sitting on your desktop, and 
  48. only the data fork, the actual GIF file, is on your server. Even if you have
  49. a Macintosh web server what is in the resource fork of the file is never sent
  50. in response to an http request, so either way the extra information stored in
  51. the resource fork of the file doesn't make a bit of difference as far as
  52. bandwidth is concerned.
  53.  
  54.    So it doesn't hurt a bit to keep those custom icons and image previews
  55. that make life so much easier around. If you really want to you can tell
  56. Photoshop not to make them in it's preferences settings, but it's really
  57. not necessary.
  58.  
  59.